package com.dhc.appbusinessfrm.presenter;

import android.content.Context;

import com.dhc.appbusinessfrm.App;
import com.dhc.appbusinessfrm.business.base.BaseBusinessImpl;
import com.dhc.appbusinessfrm.cache.PreferenceUtils;
import com.dhc.appbusinessfrm.ioc.annotation.Named;
import com.dhc.appbusinessfrm.util.CommonConstants;
import com.dhc.appbusinessfrm.view.activity.BaseInteractor;

import javax.inject.Inject;

/**
 * Created by xy on 2015/6/11.
 */
public abstract class BasePresenterImpl implements BasePresenter {
    @Inject
    @Named(CommonConstants.MALL_NAME)
    PreferenceUtils preferenceUtils;

    private BaseInteractor baseInteractor;

    public BasePresenterImpl(BaseInteractor baseInteractor) {
        this.baseInteractor = baseInteractor;
        App.getObjectGraph().inject(this);
    }


}
